;
; Copyright (c) Microsoft Corporation.  All rights reserved.
;
; Copyright (C) 2004-2009, Freescale Semiconductor, Inc. All Rights Reserved.
; THIS SOURCE CODE, AND ITS USE AND DISTRIBUTION, IS SUBJECT TO THE TERMS
; AND CONDITIONS OF THE APPLICABLE LICENSE AGREEMENT

IF BSP_NOSERIAL_UART1!
IF BSP_SERIAL_UART1
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\COM1]
   "DeviceArrayIndex"=dword:0   ; Set this to 1 to use IR functions
   "IoBase"=dword:43F90000
   "IoLen"=dword:D4
   "Prefix"="COM"
   "Dll"="csp_serial.dll"
   "Index"=dword:1
   "Order"=dword:4
   
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\COM1\Unimodem]
   "Tsp"="Unimodem.dll"
   "DeviceType"=dword:0
   "FriendlyName"="i.MX25 COM1 UNIMODEM"
   "DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00, 00,4B,00,00, 00,00, 08, 00, 00, 00,00,00,00
ENDIF ; BSP_SERIAL_UART1
ENDIF ; BSP_NOSERIAL_UART1

IF BSP_NOSERIAL_UART2!
IF BSP_SERIAL_UART2
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\COM2]
   "DeviceArrayIndex"=dword:0   ; Set this to 1 to use IR functions
   "IoBase"=dword:43F94000
   "IoLen"=dword:D4
   "Prefix"="COM"
   "Dll"="csp_serial.dll"
   "Index"=dword:2
   "Order"=dword:4
   
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\COM2\Unimodem]
   "Tsp"="Unimodem.dll"
   "DeviceType"=dword:0
   "FriendlyName"="i.MX25 COM2 UNIMODEM"
   "DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00, 00,4B,00,00, 00,00, 08, 00, 00, 00,00,00,00
ENDIF ; BSP_SERIAL_UART2
ENDIF ; BSP_NOSERIAL_UART2

IF BSP_NOSERIAL_UART3!
IF BSP_SERIAL_UART3
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\COM3]
   "DeviceArrayIndex"=dword:0   ; Set this to 1 to use IR functions
   "IoBase"=dword:5000C000
   "IoLen"=dword:D4
   "Prefix"="COM"
   "Dll"="csp_serial.dll"
   "Index"=dword:3
   "Order"=dword:4
   
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\COM3\Unimodem]
   "Tsp"="Unimodem.dll"
   "DeviceType"=dword:0
   "FriendlyName"="i.MX25 COM3 UNIMODEM"
   "DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00, 00,4B,00,00, 00,00, 08, 00, 00, 00,00,00,00
ENDIF ; BSP_SERIAL_UART3
ENDIF ; BSP_NOSERIAL_UART3!

IF BSP_NOSERIAL_UART4!
IF BSP_SERIAL_UART4
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\COM4]
   "DeviceArrayIndex"=dword:0   ; Set this to 1 to use IR functions
   "IoBase"=dword:50008000
   "IoLen"=dword:D4
   "Prefix"="COM"
   "Dll"="csp_serial.dll"
   "Index"=dword:4
   "Order"=dword:4
   
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\COM4\Unimodem]
   "Tsp"="Unimodem.dll"
   "DeviceType"=dword:0
   "FriendlyName"="i.MX25 COM4 UNIMODEM"
   "DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00, 00,4B,00,00, 00,00, 08, 00, 00, 00,00,00,00
ENDIF ; BSP_SERIAL_UART4
ENDIF ; BSP_NOSERIAL_UART4

IF BSP_NOSERIAL_UART5!
IF BSP_SERIAL_UART5
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\COM5]
   "DeviceArrayIndex"=dword:0   ; Set this to 1 to use IR functions
   "IoBase"=dword:5002C000
   "IoLen"=dword:D4
   "Prefix"="COM"
   "Dll"="csp_serial.dll"
   "Index"=dword:5
   "Order"=dword:4
   
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\COM5\Unimodem]
   "Tsp"="Unimodem.dll"
   "DeviceType"=dword:0
   "FriendlyName"="i.MX25 COM5 UNIMODEM"
   "DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00, 00,4B,00,00, 00,00, 08, 00, 00, 00,00,00,00
ENDIF ; BSP_SERIAL_UART5
ENDIF ; BSP_NOSERIAL_UART5!
